﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CanCreateFlow.aspx.cs" Inherits="Flow_Info_CanCreateFlow" %>

<%@ Import Namespace="TarreOA.TarreOAModels" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link rel="Stylesheet" type="text/css" href="../Styles/right_style.css" />
    <script type="text/javascript" src="../Scripts/jquery.ui/js/jquery.js"></script>
    <style type="text/css">
        <!--
        html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
        scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
        -->
    </style>
    <script type="text/javascript">
        function hidTr(target) {
            try {
                var myTr = document.getElementsByTagName('tr');
                for (i = 0; i < myTr.length; i++) {
                    if (myTr[i].id == target) {
                        if (myTr[i].style.display == "inline") {
                            myTr[i].style.display = "none";
                        } else {
                            myTr[i].style.display = "inline";
                        }
                    }
                }
            } catch (ex) {
                alert(ex.message);
            }
        } 
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="sub_right_top">
        <div class="hdm_footer">
            <div style="height: 13px; overflow: hidden;">
            </div>
            <%
                if (list != null)
                {
            %>
            <div class="workflow_choice" style="width:200px;">
                <div class="workflow_title">
                    请选择工作流程↓</div>
                
                    <%
                    foreach (FlowFront_CanCreateWork ff_cc in list)
                    { 
                    %>
                    <div class="workflow_liucheng">
                    <div class="workflow_title_top">
                        办公用品审批</div>
                    <div class="workflow_line_top">
                        <div class="r1">
                        </div>
                        <div class="r2">
                        </div>
                        <div class="r3">
                        </div>
                        <div class="r4">
                        </div>
                    </div>
                    <div class="workflow_stup_content">
                        <table width="100%" border="0">
                            
                                <%
                        foreach (Flow_NewFlow fnf in ff_cc.Flow_newflows)
                        { 
                                %>
                                <tr>
                                <td>
                                    <a href="CreateWork.aspx?FLOW_ID=<%=fnf.NewFlowl_id %>" target="CreateWorkMainFrame">
                                        <%=fnf.NewFlow_name%>
                                    </a>
                                </td>
                                </tr>
                                <% 
                    }
                                %>
                            
                        </table>
                    </div>
                    <div class="workflow_line_bot">
                        <div class="r4">
                        </div>
                        <div class="r3">
                        </div>
                        <div class="r2">
                        </div>
                        <div class="r1">
                        </div>
                   </div>
                    </div>
                    
                 <br />
                    <%}
                 %> 
                 </div>
            </div>
            <%} 
                else
                { %>
            <div class="workflow_choice_explain">
                <p>
                </p>
                <p>
                    尚未定义流程或无新建工作流权限</p>
            </div>
            <% } %>
            <div class="clear">
            </div>
            <div style="height: 15px; overflow: hidden;">
            </div>
        </div>
    </form>
</body>
</html>
